import React, { useEffect } from "react";
import { Button } from "antd";
// import init, {add, my_str} from "@/components/UseWASMComp1/pkg";

const UseWASMComp1: React.FC = () => {
  const clickHandler = () => {
    // console.log(my_str('6ams6LWb5p+v5p+v'));
    // console.log(add(114, 514));
  };

  return (
    <>
      <Button onClick={clickHandler}>use wasm</Button>
    </>
  );
};

export default UseWASMComp1;
